package com.dropdb.demo.service;

import com.dropdb.demo.bean.Admin;
import com.dropdb.demo.bean.bo.AdminAdminListBO;
import com.dropdb.demo.bean.bo.BaseData;
import com.dropdb.demo.bean.vo.AdminData;

import java.util.Map;

public interface AdminService {
    AdminData create(Admin admin);

    AdminData update(Admin admin);

    int delete(Admin admin);

    BaseData<AdminData> list(AdminAdminListBO bo);

    Map<String, Object> getLoginInfo(Admin admin);
}
